package com.kehongborui.fliggy.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author zhang peng yang ming
 * @create 2018-09-09 23:06
 */
@Component
public class OrderTask {
    @Scheduled(cron = "* * * * * ?")//每分钟都执行
    public void ttt() {
        System.out.println("=====================================>");
    }
}
